﻿using HamcoWcs.Models.Devices;
using HamcoWcs.Models.NodeInfos;
using HamcoWcs.Models.TibcoMessage;
using System.Collections.Generic;

namespace HamcoWcs.Contract.ContractPcon
{
    //单例服务，保存所有托盘输送线PLC，与输送线对象
    public interface IPconBaseService
    {
        //获得所有托盘线PLC对象
        List<PconPlc> GetAllPconPlcs();
        List<PconDto> GetAllPcons();
        //获得指定托盘线PLC对象
        PconPlc GetPconPlc(string plcName);

        PconDto GetPcon(string machineName, string portName);
        //PconDto GetPcon(string machineName, string portName);

        List<Pallet> InventoryPalletDataReport();

        List<NodeInfoDto> GetMachines();

    }
}
